<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>回收站</title>
</head>
<body class="laytp-container-recycle">
<div class="layui-card" id="recycle-search-form" style="display:none;">
    <div class="layui-card-body">
        <form class="layui-form" style="margin-bottom:0px;">
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="ID">ID</label>
                <div class="layui-input-inline">
                    <input type="text" name="search_param[id][value]" id="id" placeholder="请输入ID"
                           class="layui-input" autocomplete="off">
                    <input type="hidden" name="search_param[id][condition]" value="=">
                </div>
            </div>

            <div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="所属分类">所属分类</label>
                <div class="layui-input-inline">
                    <div class="xmSelect"
                        data-name="search_param[category_id][value]"
                        data-sourceType="route"
                        data-source="/admin.files.category/index"
                        data-sourceTree="true"
                        data-paging="false"
                        data-valueField="id"
						data-textField="name"
						data-placeholder="请选择所属分类"
                    ></div>
                    <input type="hidden" name="search_param[category_id][condition]" value="FIND_IN_SET">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="文件名称">文件名称</label>
                <div class="layui-input-inline">
                    <input autocomplete="off" type="text" id="name" name="search_param[name][value]" placeholder="请输入文件名称" class="layui-input">
                    <input type="hidden" name="search_param[name][condition]" value="LIKE">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="文件类型">文件类型</label>
                <div class="layui-input-inline">
                    <select id="file_type" name="search_param[file_type][value]">
        <option value="">请选择文件类型</option>
        				<option value=""></option>
						<option value="image">图片</option>
						<option value="video">视频</option>
						<option value="music">音频</option>
						<option value="file">文件</option>
                    </select>
                    <input type="hidden" name="search_param[file_type][condition]" value="=">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="上传方式">上传方式</label>
                <div class="layui-input-inline">
                    <select id="upload_type" name="search_param[upload_type][value]">
        <option value="">请选择上传方式</option>
        				<option value=""></option>
						<option value="local">本地上传</option>
						<option value="ali-oss">阿里云OSS</option>
						<option value="qiniu-kodo">七牛云KODO</option>
                    </select>
                    <input type="hidden" name="search_param[upload_type][condition]" value="=">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="创建者">创建者</label>
                <div class="layui-input-inline">
                    <div class="xmSelect"
                        data-name="search_param[create_admin_user_id][value]"
                        data-sourceType="route"
                        data-source="/admin.user/index"
                        data-sourceTree="false"
                        data-paging="true"
                        data-valueField="id"
                        data-textField="nickname"
                        data-placeholder="请选择创建者"
                    ></div>
                    <input type="hidden" name="search_param[create_admin_user_id][condition]" value="FIND_IN_SET">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="最后更新者">最后更新者</label>
                <div class="layui-input-inline">
                    <div class="xmSelect"
                        data-name="search_param[update_admin_user_id][value]"
                        data-sourceType="route"
                        data-source="/admin.user/index"
                        data-sourceTree="false"
                        data-paging="true"
                        data-valueField="id"
                        data-textField="nickname"
                        data-placeholder="请选择最后更新者"
                    ></div>
                    <input type="hidden" name="search_param[update_admin_user_id][condition]" value="FIND_IN_SET">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="创建时间">创建时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input laydate"
    id="create_time" name="search_param[create_time][value]"
    data-type="datetime" data-isRange="true" placeholder="请选择创建时间">
<input type="hidden" name="search_param[create_time][condition]" value="BETWEEN">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="更新时间">更新时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input laydate"
    id="update_time" name="search_param[update_time][value]"
    data-type="datetime" data-isRange="true" placeholder="请选择更新时间">
<input type="hidden" name="search_param[update_time][condition]" value="BETWEEN">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="删除时间">删除时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input laydate"
    id="delete_time" name="search_param[delete_time][value]"
    data-type="datetime" data-isRange="true" placeholder="请选择删除时间">
<input type="hidden" name="search_param[delete_time][condition]" value="BETWEEN">
                </div>
            </div>

            <div class="layui-form-item layui-inline">
                <button class="laytp-btn laytp-btn-md laytp-btn-primary" lay-submit lay-filter="laytp-recycle-search-form">
                    <i class="layui-icon layui-icon-search"></i>
                    查询
                </button>
                <button type="reset" class="laytp-btn laytp-btn-md laytp-recycle-search-form-reset">
                    <i class="layui-icon layui-icon-refresh"></i>
                    重置
                </button>
            </div>
        </form>
    </div>
</div>

<table id="laytp-recycle-table" lay-filter="laytp-recycle-table"></table>

<script type="text/html" id="recycle-default-toolbar">
    <button class="laytp-btn laytp-btn-primary laytp-btn-md" lay-event="restore">
        <i class="laytp-icon laytp-icon-back"></i>
        还原
    </button>
    <button class="laytp-btn laytp-btn-danger laytp-btn-md" lay-event="true-del">
        <i class="layui-icon layui-icon-delete"></i>
        删除
    </button>
    <button class="laytp-btn laytp-btn-warming laytp-btn-md" lay-event="recycle-search">
        <i class="layui-icon layui-icon-search"></i>
        搜索
    </button>
</script>

<script type="text/html" id="recycle-default-bar">
    <button class="laytp-btn laytp-btn-primary laytp-btn-xs" lay-event="restore"><i class="laytp-icon laytp-icon-back"></i>还原</button>
    <button class="laytp-btn laytp-btn-danger laytp-btn-xs" lay-event="true-del"><i class="layui-icon layui-icon-delete"></i>删除</button>
</script>

<script>
    if(localStorage.getItem("staticDomain")){
        document.write("<link rel='stylesheet' href='" + localStorage.getItem("staticDomain") + "/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/layui/layui.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/laytp/layuiConfig.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/admin/js/filesRecycle.js?v="+localStorage.getItem("version")+"'><\/script>");
    }else{
        document.write("<link rel='stylesheet' href='/static/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='/static/component/layui/layui.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='/static/component/laytp/layuiConfig.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='/static/admin/js/filesRecycle.js?v="+localStorage.getItem("version")+"'><\/script>");
    }
</script>
</body>
</html>